export interface ResponseData {
  code: number;
  message: string;
  ok: boolean;
}

export interface skuObj {
  id: number;
  spuId: number;
  price: number;
  skuName: string;
  skuDesc: string;
  weight: number;
  tmId: number;
  isSale: number;
  category3Id: number;
  skuDefaultImg?: string;
  skuImageList?: any[];
  skuAttrValueList?: any[];
  skuSaleAttrValueList?: any[];
}

export type records = skuObj[];

export interface skuListResponseData extends ResponseData {
  data: {
    records: records;
    total: number;
    size: number;
    current: number;
    orders?: any;
    optimizeCountSql?: boolean;
    hitCount?: boolean;
    countId?: any;
    maxLimit?: any;
    searchCount?: boolean;
    pages: number;
  };
}
